package com.spzx.product.mapper;

import com.spzx.model.entity.product.Category;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;

/**
 * Project: spzx-parent
 * Package: com.spzx.product.mapper
 * Version: 1.0
 * <p>
 * Created by  wangjiaxin  on 2024/3/12 23:03
 */
@Mapper
public interface CategoryMapper {
    //获取所有一级分类
    List<Category> findOneCategory();

    //查询所有分类
    List<Category> findAll();
}
